package com.lichuang.dedao.curriculum.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试听
 * </p>
 *
 * @author xiaosong
 * @since 2019-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("curriculum_audition")
@ApiModel(value = "CurriculumAudition对象", description = "试听")
public class CurriculumAudition implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "试听id")
    @TableId(value = "curriculum_audition_id", type = IdType.AUTO)
    private Integer curriculumAuditionId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "课程id")
    private Integer curriculumId;

    @ApiModelProperty(value = "试听的节id")
    private Integer auditionSectionId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
